home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9265 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  951 b 

  1. Path: nntp.onyx.net!newsmaster
  2. From: Colin@begg.octacon.co.uk (Colin Begg)
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: Increasing stack size - HELP!
  5. Date: Thu, 29 Feb 1996 16:46:44 GMT
  6. Organization: Serco Systems Ltd
  7. Message-ID: <3135cca4.25519940@news.octacon.co.uk>
  8. References: <4gcd0h$8rf@izar.brunel.ac.uk>
  9. NNTP-Posting-Host: r03-49.onyx.net
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. On 20 Feb 1996 11:58:09 GMT, Francesco Fantauzzi
  13. <mapgfgf@brunel.ac.uk> wrote:
  14.  
  15. >I'm using Borland C++ 4.0. I'm stuck 'cause, when I run my program, it 
  16. >stops with a run-time error: "STACK OVERFLOW!". 
  17. >
  18. >I checked the stack size (with stackavail()) and it's actually too small. 
  19. >How can I tell the compiler that I would like a larger stack, overriding 
  20. >the default size? I'm sure there's a way: I did it years ago, but have 
  21. >forgotten it. 
  22. I think its in the Options | Project | Linker neck of the woods, to
  23. set stack size and heap.
  24.  
  25. Regards,
  26. Colin Begg
  27.